package com.xzy.d;

import com.xzy.service.StudentService;
import com.xzy.service.TeacherService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 说明：
 *
 * @author xzy
 * @date 2021/12/5 15:37
 */
@Slf4j
public class ServiceD {
    @Autowired(required = false)
    public ServiceD(StudentService studentService) {
        log.info("实例化 => {}","ServiceD(StudentService studentService)");
    }

    @Autowired(required = false)
    public ServiceD(StudentService studentService, TeacherService teacherService) {
        log.info("实例化 => {}","ServiceD(StudentService studentService, TeacherService teacherService)");
    }

}
